// 商品列表组件
<template>
  <div class="good-list">
    <good-list-item v-for="item in goods" :key="item.index" :goodsItem="item"/>
  </div>
</template>

<script>
import GoodListItem from "./GoodListItem.vue";

export default {
  components: { GoodListItem },
  name: "GoodList",
  data() {


    return {};
  },
  props: {
    goods: {
      type: Array,
      default() {
        return [];
      },
    },
  },
  methods: {},
};
</script>

<style scoped>
.good-list {
  display: flex;
  flex-wrap: wrap;
  flex: 50%;
  justify-content: space-evenly;
}
</style>
